package com.medical.common.constant;

public class RedisLoginKey {
    public String keyPrefix;//键的前缀
    public Long expireTime;//过期时间

    private RedisLoginKey(String keyPrefix, Long expireTime) {
        this.keyPrefix = keyPrefix;
        this.expireTime = expireTime;
    }

    public static final RedisLoginKey DOCTOR_ROLE =new RedisLoginKey("doctor:login:", 60L);
    public static final RedisLoginKey PATIENT_ROLE =new RedisLoginKey("patient:login:", 60L);



}
